package com.lifesting.tool.j2as3.visitor;

import java.util.ArrayList;
import java.util.List;

public class ClassNode extends Node {
	private List<InterfaceNode> implemented = new ArrayList<InterfaceNode>();
	public ClassNode(String qualifiedName) {
		super(qualifiedName);
	}
	public void addImplement(InterfaceNode a){
		implemented.add(a);
	}
	public void removeImplement(InterfaceNode a){
		implemented.remove(a);
	}
	public List<InterfaceNode> getImplemented() {
		return implemented;
	}
	@Override
	public String toString() {
		return "Class#"+qualifiedName;
	}

}
